package ch03.cat;

public class RealCat implements Cat{
    private String name="张三";

    public void setName(String name) {
        this.name = name;
    }

    @Override
    public String haveaCat() {
        return name+"购买了一辆车";
    }
}
